home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / graphics / vlapak1.zip / VLA_FONT.ZIP / STUFF.NFO < prev    next >
Text File  |  1993-09-28  |  4KB  |  132 lines

  1.  
  2.   Lots of potentially useless stuff in this release... Scrollers and fonts.
  3.  
  4.  
  5.   The concept behind the scrollers (HSCR*.ASM) is the same as the credits
  6.   scroller. Except sideways. Just make the virtual width slightly greater
  7.   than twice the actual screen width so you don't have to time anything. 
  8.   
  9.   Update at the right edge of the screen and at the right edge + SCRW/2.
  10.  
  11.   Pan to the rigth and when you hit an offset of SCRW/2 or greater,
  12.   subtract SCRW/2 from it. And continue.  It's really quite simple, if 
  13.   you know your planar modes...
  14.  
  15.   INCLUDED IN THIS ZIP SHOULD BE:
  16.  
  17.     HSCR*.ASM   ;the source to many variations of a scroller
  18.     HSCR*.EXE   ;executables for those with MASM (get TASM!)
  19.  
  20.     font5.VCH   ;the blue font
  21.     font5.PAL   ;the palette that make the font blue
  22.     font5.TGA   ;the file used to clip the blue font from
  23.  
  24.     *.VCH       ;other fonts
  25.     *.PAL       ;other pals
  26.  
  27.     GCX.*       ;"Get Characters in mode X"
  28.                 ; lets you clip out the characters in a cool way
  29.  
  30.     VCHED.*     ;"VCH EDITOR"
  31.                 ; lets you edit the characters once you have grabbed 'em
  32.  
  33.     GETPAL.*    ;Takes the palette out of a TGA file and saves it in a
  34.                 ; PAL file
  35.  
  36.     VCH2FNT.*   ;Converts an 8 wide VCH font to a text mode font (.fnt)
  37.  
  38.     DoFont.*    ;dumps a .FNT file onto the VGA card and changes the font
  39.  
  40.  
  41.     And maybe some others that I forgot to mention...
  42.  
  43.  
  44.  
  45.   How to use GCX:
  46.  
  47.     1) Make your font in your favorite picture editor (I use DP)
  48.     2) Convert the picture to the uncompressed TGA format with GWS
  49.     3) type "GCX FontName"
  50.     
  51.     On the dimensioning screen:
  52.  
  53.        * Arrow keys adjust the dimensions
  54.        * + and - keys change the number of characters
  55.        * F and f changes the starting character
  56.        * Hit enter to accept choices
  57.  
  58.      NOTE: Because I'm lazy, I did not add the feature of a safe resizing,
  59.            so if you resize after grabbing some characters, you'll have to        
  60.            re grab them.
  61.  
  62.      On the grabbing screen:
  63.  
  64.         * Arrow keys move cross hairs around
  65.         * CTRL + Arrow keys move by the width or height of the font
  66.         * CTRL G grabs the selected image
  67.         * + and - changes the current character
  68.         * CTRL S saves the font
  69.         * Page up and Page down make the split screen move!
  70.         * CTRL Q quits quite unsafely (laziness)
  71.  
  72.   And now VCHED:
  73.  
  74.     1) Be sure to run GETPAL on the TGA file before running VCHED, or it'll
  75.        complain.
  76.     2) This only edits an existing VCH file, so you must run GCX first.
  77.  
  78.     The Keys:
  79.  
  80.         CTRL-F1     Save font (don't ask why I used CTRL-F1, I don't know.)
  81.         CTRL-F2     Erase current character
  82.  
  83.         F1          Copy
  84.         F2          Paste
  85.  
  86.         F3          Roll left
  87.         F4          Roll right
  88.         F5          Roll up
  89.         F6          Roll down
  90.  
  91.         F7          Flip
  92.         F8          Mirror
  93.  
  94.         F9          Grab color under cursor
  95.         F10         Restore character to what it was when loaded
  96.  
  97.         + and -     Change character you are working on
  98.  
  99.         Arrow Keys  Move cursor
  100.  
  101.         Left shift  Draw FG color
  102.         Right shift Draw BG color
  103.  
  104.         [           Inc FG color
  105.         ]           Dec FG color
  106.         CTRL [      Inc BG color
  107.         CTRL ]      Dec BG color
  108.  
  109.         CTRL Q      Quit
  110.  
  111.         1 and 2     Inc / Dec scroller speed
  112.         3 and 4     Inc / Dec 'width' of character
  113.  
  114.       And I think that's all the keys...
  115.  
  116.  
  117.     And now the VCH format:
  118.  
  119.     BYTE        LENGTH      Description
  120.  
  121.     0           5           "VLACH" -   kind of an identifier
  122.     5           1           What character is 0 (usually space - 20h)
  123.     6           1           Width of all the characters (X)
  124.     7           1           Height of all the characters (Y)
  125.     8           1           Number of characters (NumChar)
  126.  
  127.     9           X*Y*NumChar The font data
  128.  
  129.   9+X*Y*NumChar NumChar     The 'width' of each character
  130.  
  131.  
  132.